<div class="sidebar" id="sidebar">
    <div class="left-ims">
        <a href="" class="profilepic">
            <img id="ims" src="__ASSET__/Home/images/1.png">
        </a>
    </div>
    <div class="text">
        <p style="padding-left: 1rem">不积跬步无以至千里</p>
        <p style="padding-left: 4rem">不积小流无以至江流</p>
    </div>
    <div class="left-menu">
        <ul class="menu">
            <a href="">
                <li class="menu-item">首页</li>
            </a>
            <foreach name="categorys" item="var">
                <a href="{:U('Category/index', array('cid' => $var['id']))}">
                    <li class="menu-item">{$var.name}</li>
                </a>
            </foreach>
            <a href="{:U('Archives/index')}">
                <li class="menu-item">归档</li>
            </a>
        </ul>
    </div>
    <div class="brand">
        © 2011-2016
    </div>
</div>